package com.openlogic.flow.service.impl;

import java.util.List;
import java.util.Map;

import org.dromara.warm.flow.orm.entity.FlowInstance;
import org.dromara.warm.flow.orm.mapper.FlowInstanceMapper;
import org.noear.solon.annotation.Component;

import com.mybatisflex.solon.service.impl.ServiceImpl;
import com.openlogic.common.core.web.domain.PageData;
import com.openlogic.flow.domain.dto.FlowCancelDto;
import com.openlogic.flow.domain.dto.FlowInvalidDto;
import com.openlogic.flow.domain.query.FlowInstanceQuery;
import com.openlogic.flow.domain.vo.FlowInstanceVo;
import com.openlogic.flow.service.IFlowInstanceService;

/**
 * @ClassName: OpenLogicFlowDeineServiceImpl
 * @Description: 流程实例 Service实现
 * @author weiyongpeng
 * @date 2025年2月10日 下午7:49:16
 */
@Component
public class FlowInstanceServiceImpl extends ServiceImpl<FlowInstanceMapper, FlowInstance> implements IFlowInstanceService {

	@Override
	public PageData<FlowInstanceVo> selectRunningInstanceList(FlowInstanceQuery instanceQuery) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PageData<FlowInstanceVo> selectFinishInstanceList(FlowInstanceQuery instanceQuery) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public FlowInstanceVo queryByBusinessId(Long businessId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public FlowInstance selectInstByBusinessId(String businessId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public FlowInstance selectInstById(Long instanceId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<FlowInstance> selectInstListByIdList(List<Long> instanceIds) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean deleteByBusinessIds(List<Long> businessIds) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean deleteByInstanceIds(List<Long> instanceIds) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean cancelProcessApply(FlowCancelDto flowCancelDto) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public PageData<FlowInstanceVo> selectCurrentInstanceList(FlowInstanceQuery instanceQuery) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Map<String, Object> chartFlowInstance(String businessId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void updateStatus(Long instanceId, String status) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Map<String, Object> instanceVariable(Long instanceId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setVariable(Long instanceId, Map<String, Object> variable) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public FlowInstance selectByTaskId(Long taskId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<FlowInstance> selectByTaskIdList(List<Long> taskIdList) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean processInvalid(FlowInvalidDto flowInvalidDto) {
		// TODO Auto-generated method stub
		return false;
	}

}
